package com.ettractions.kiosk.assets
{
	public class AssetsStore
	{
		private var _idAssetMap:Object = {};
		
		public function put(id:String, asset:*):void
		{
			_idAssetMap[id] = asset;
		}
		
		public function get(id:String):*
		{
			return _idAssetMap[id];
		}
		
		public function remove(id:String):void
		{
			delete _idAssetMap[id];
		}
		
		public function clear():void
		{
			_idAssetMap = {};
		}		
	}
}